package com.fafa.pos.pojo;

/**
 * Created by ZhouBing on 2017/8/16.
 * 消费信息
 */
public class ConsumeInfo {

    private String id;//流水ID
    private String cardCode;//卡号
    private String vipName;//会员名称
    private String money;//消费金额
    private String date;//消费时间
    private String isUpLoad;//是否已上传消费信息 1是0否

    private String errorMsg;//上传失败的错误信息,记录最后一次

    public ConsumeInfo() {
    }

    public ConsumeInfo(String id, String cardCode, String vipName, String money, String date, String isUpLoad, String errorMsg) {
        this.id = id;
        this.cardCode = cardCode;
        this.vipName = vipName;
        this.money = money;
        this.date = date;
        this.isUpLoad = isUpLoad;
        this.errorMsg = errorMsg;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public String getCardCode() {

        return cardCode;
    }

    public void setVipName(String vipName) {
        this.vipName = vipName;
    }

    public String getVipName() {

        return vipName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setIsUpLoad(String isUpLoad) {
        this.isUpLoad = isUpLoad;
    }

    public String getIsUpLoad() {

        return isUpLoad;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getId() {
        return id;
    }


    public String getMoney() {
        return money;
    }

    public String getDate() {
        return date;
    }

    @Override
    public String toString() {
        return "ConsumeInfo{" +
                "id='" + id + '\'' +
                ", cardCode='" + cardCode + '\'' +
                ", money='" + money + '\'' +
                ", date='" + date + '\'' +
                ", isUpLoad='" + isUpLoad + '\'' +
                ", errorMsg='" + errorMsg + '\'' +
                '}';
    }
}
